define [ "fizz" ], (fizz) ->
  class extends fizz.Collection
    parse: (response) =>
      @totalElements = response.totalElements
      @totalPages = response.totalPages
      @number = response.number
      @numberOfElements = response.numberOfElements
      @numberAfter = @totalPages - @number - 1
      @numberBefore = @number
      response.content
    